Kubio\Core\KubioFrontPageRevertNotice C

Total Complexity 112
Dependencies 6
Dependents 1
Total lines 946
Lines of code 766
Logical lines of code 290
Comment lines 27
Methods 48
Properties 9

Methods 48

Method Rating Maintainability Complexity Lines of code
restoreWebsiteMenu()
A
38 13 73
getRestoreNoticeScript()
A
39 3 98
getRestoreNoticeStyle()
A
45 1 122
backupTemplateParts()
S
52 7 24
backupWebsiteMenu()
S
51 5 27
createFallbackMenu()
S
49 4 38
onUpdateBlogTemplateToHaveFrontHeader()
S
47 4 38
getCurrentMenuId()
S
56 4 21
getTemplatePartContentBySlug()
S
49 3 33
onPrintNoticeWithCheck()
S
66 5 9
getShouldBackupData()
S
62 4 13
emptyMenuItems()
S
62 4 12
restoreTemplateParts()
S
62 4 11
restoreGlobalData()
S
58 3 17
restoreWebsiteFrontPage()
S
58 3 16
backupGlobalData()
S
62 3 12
onRestoreUserFrontPage()
S
59 2 15
removeBlackWizardFlags()
S
69 3 8
getShowNoticeInEditor()
S
75 3 4
getRestoreNoticeHTML()
S
55 1 26
getCurrentUserIsAdmin()
S
79 2 3
getInstance()
S
72 2 6
getFrontPageBackupData()
S
67 2 8
backupUserData()
S
68 2 8
backupUserUsedStarterContentFrontpage()
S
71 2 6
initRestApi()
S
61 1 14
backupWebsiteFrontPage()
S
63 1 11
onKeepKubioFrontPage()
S
74 1 5
getIsFreshSite()
S
76 1 4
printRestoreNotice()
S
74 1 5
load()
S
80 1 3
getEditorNoticeHtml()
S
68 1 7
getHasFrontPageBackupData()
S
75 1 4
getGlobalDataKey()
S
75 1 4
getShowNoticeKey()
S
75 1 4
shouldShowRestoreNotice()
S
80 1 3
getFrontPageFromtStarterContentKey()
S
75 1 4
getFrontPageBackupKey()
S
75 1 4
getFrontPageRevertedKey()
S
75 1 4
restoreFrontPageForStarterContent()
S
73 1 5
getMenuBackupKey()
S
75 1 4
getHasStarterContentBackup()
S
80 1 3
getFeatureIsEnabled()
S
79 1 3
cleanUpFlags()
S
67 1 9
getTemplatePartsBackupKey()
S
75 1 4
updateShowNoticeFlag()
S
80 1 3
updateStartSourceToKnowItReverted()
S
72 1 5
__construct()
S
70 1 6